<include file="Public:header" />
<div id="main" class="main" >
    <div class="content">
    <?php $type = empty( $_GET['id'] )?0:$_GET['id']; ?>
  <div class="title">新增计划 [ <a href="__URL__">返回列表</a> ]</div>
<div id="result" class="result none"></div>
<form method='post' id="form1" action="__URL__/insert/">
<table cellpadding=3 cellspacing=3 >
    <tr>
	<td class="tRight" >计划任务：</td>
	<td class="tLeft" >
            <input type="text" name="subject" value="">
        </td>
</tr>
<tr>
	<td class="tRight" >地址：</td>
	<td class="tLeft" >
            <input type="text"  name="address" value="" />
        </td>
</tr>
<load href="__PUBLIC__/Js/My97DatePicker/WdatePicker.js" />
<tr>
	<td class="tRight" ><span class="red">*</span>开始时间：</td>
	<td class="tLeft" >
		<input type="text" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="medium bLeft" name="start_time" value="">
        </td>
</tr>
<tr>
	<td class="tRight" ><span class="red">*</span>结束时间：</td>
	<td class="tLeft" >
		<input type="text" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="medium bLeft" name="end_time" value="">
        </td>
</tr>
<tr>
	<td class="tRight" >提醒时间：</td>
	<td class="tLeft" >
            <input type="text" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="medium bLeft" name="alert_time" value="">
        </td>
</tr>
<tr>
	<td class="tRight" >内容：</td>
	<td class="tLeft" ><textarea name="content" rows="5" cols="15" class="large"></textarea>
        </td>
</tr>
<tr>
	<td class="tRight">状态：</td>
	<td class="tLeft"><SELECT class="middle bLeft"  name="status" >
                <volist name="todoStatus" id="st">
                    <option value="{$key}">{$st}</option>
                </volist>
	</SELECT></td>
</tr>
<tr>
	<td></td>
	<td class="center"><div style="width:85%;margin:5px">
	<div class="impBtn fLeft"><input type="submit" value="保存"  class="save imgButton"></div>
	<div class="impBtn fLeft"><input type="reset" class="reset imgButton" onclick="javascript:history.back()" value="返回" ></div>
	</div></td>
</tr>
</table>
</form>
</div>
</div>
